
{
  onEnter(log, args, state) {
    log(`CCCrypt(op=${args[0]}, alg=${args[1]}, options=${args[2]}, keyLength=${args[4]}, iv=${args[5]} dataIn=${args[6]}, dataInLength=${args[7]}, dataOut=${args[8]}, dataOutAvailable=${args[9]}, dataOutMoved=${args[10]})`);
    log('key', hexdump(args[3]));
    // log('iv',hexdump(args[5]));
    log('input', hexdump(args[6]));
    log('input len', args[7]);
    this.args8 = args[8];
    this.arg10 = args[10];
  },
 
  onLeave(log, retval, state) {
    log('output', hexdump(this.args8));
    log('output len', hexdump(this.arg10));
  }
}